<?php /* Smarty version Smarty-3.1.18, created on 2015-01-27 14:42:09
         compiled from "application/views/user_addressmodify.php" */ ?>
<?php /*%%SmartyHeaderCode:8068251754c73341825304-04880120%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a81652c08d6ba552dff67bb355d45cff30d54fd4' => 
    array (
      0 => 'application/views/user_addressmodify.php',
      1 => 1419237902,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '8068251754c73341825304-04880120',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_54c733418b2584_67411491',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54c733418b2584_67411491')) {function content_54c733418b2584_67411491($_smarty_tpl) {?>
  <!--container begin-->
  <div id="container" class="fix">
    <div class="icontainer">
      <div id="main">
        <div class="crumb"><a href="#">Home</a> &gt; Please Modify Your Address</div>
        <div class="userWrapper">
          <h3>Please Modify Your Address</h3>
          <div class="userDes">
            <form id="modifyAddress" method="post" action="/addresssave" class="formArea fix">
              <ul>
              <li>
              </li>
                <li>
                  <label for="firstname"><span class="strong1">*</span> First Name:</label>
                  <input type="text" name="firstname" id="firstname" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['firstname'];?>
" maxlength="16"   />
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="lastname"><span class="strong1">*</span> Last Name:</label>
                  <input type="text" name="lastname" id="lastname" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['lastname'];?>
" maxlength="16"   />
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="address"><span class="strong1">*</span> Address:</label>
                  <input type="text" name="address" id="address" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['address'];?>
" maxlength="320"   />
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="city"><span class="strong1">* </span>City / Town::</label>
                  <input type="text" name="city" id="city" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['city'];?>
" maxlength="320"   />
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="state"><span class="strong1">*</span> County / State:</label>
                  <input type="text" name="state" id="state" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['state'];?>
" maxlength="320"   />
                  <div class="errorInfo"></div>
                </li>
                <li >
                  <label for="country"><span class="strong1">*</span> Country:</label>
                  <select id="country" name="country" class="allSelect">
                    <option value="" selected="selected">- Select -</option>
                    <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value['dt']['countrys']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
					<option value="<?php echo $_smarty_tpl->tpl_vars['item']->value->iso_code;?>
" <?php if ($_smarty_tpl->tpl_vars['item']->value->iso_code==$_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['country']) {?>selected="selected"<?php }?>>
					<?php echo $_smarty_tpl->tpl_vars['item']->value->name;?>

					</option>
					<?php } ?>
                  </select>
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="zip"><span class="strong1">* </span> Postal / Zip Code:</label>
                  <input type="text" name="postcode" id="zip" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['postcode'];?>
" maxlength="16"   />
                  <div class="errorInfo"></div>
                </li>
                <li >
                  <label for="phone"><span class="strong1">* </span>Phone:</label>
                  <input type="text" name="phone" id="phone" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['phone'];?>
" maxlength="320"   />
                  <div class="errorInfo"></div>
                </li>
                <li class="actions">
                  <label>&nbsp;</label>
                  <input type="submit" id="modifySubmit"  value="Submit" class="allBtn" />
                </li>
              </ul>
              <script type="text/javascript">
    $("#modifyAddress").validate($.extend(formSettings,{
		rules: {
			firstname: "required",
			lastname: "required",
			zip:  "required",
			address: "required",
			city: "required",
			state: "required",
			country: "required",
			phone:  "required"
		}
	}));
</script>
            </form>
          </div>
        </div>
      </div>
      <div id="aside">
  		<h3>My Account</h3>
        <div class="search">
          <form action="" method="post">
            <div class="form">
		    <li><a href="/user_mag/myorder" rel="nofollow" name="sel-year" id="sel-year"  tabindex="1">My Orders</a></li>
			<li><a href="/user_mag/addresslist" rel="nofollow" name="sel-year" id="sel-year"  tabindex="1">Address</a></li>
			<li><a href="/user_mag/account" rel="nofollow" name="sel-year" id="sel-year"  tabindex="1">Account Details</a></li>
             </div>
          </form>
      </div>
      </div>
    </div>
  </div>
  <!--container end-->
 <?php }} ?>
